From: Marco Trevisan (TreviƱo) Date: Thu, 3 Sep 2026 15:21:51 +0000 (+0200) Subject: theme/drawing: Do not use accent color for focus ring in lockscreen X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~6^2^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f79bbadb587b1b903afc7f1b901892540797437e;p=gnome-shell.git theme/drawing: Do not use accent color for focus ring in lockscreen The lockscreen has no accent color anywhere, the controls are always using the text color for the focus ring too, so do the same with buttons following the same logic used by entries too Part-of: (cherry picked from commit c2a0812a165057ba09ac441d95184e25c2ee8e34) --- diff --git a/data/theme/gnome-shell-sass/_drawing.scss b/data/theme/gnome-shell-sass/_drawing.scss index d98cb4939..3ad83e01a 100644 --- a/data/theme/gnome-shell-sass/_drawing.scss +++ b/data/theme/gnome-shell-sass/_drawing.scss @@ -314,6 +314,10 @@ @if $style == 'default' { @include focus_ring($fc:$accent_borders_color); } + // use the text color for the focus ring in lockscreen + @if $style == 'lockscreen' { + @include focus_ring($fc: transparentize($tc, if($contrast == 'high', 0.3, 0.6))); + } // change background color if style is flat @if $style == 'flat' { $button_bg_color: transparentize($button_bg_color, 0.75);